<template>
  <div :class='s.wrap'>
    <div :class='s.header' style="visibility: hidden;"></div>
    <div :class='s.msgWrap'>
      <div :class='s.msg' v-text='msg'></div>
      <div :class='s.triangle'></div>
    </div>
    <img :src="header" :class='s.header'>
  </div>
</template>

<style lang='less' module='s'>
.wrap{
  // width: 100%;
  display: flex;
  // padding-left: 80px;
  .msgWrap{
    flex:1;
    display: flex;
    justify-content:flex-end;
    margin-left: 16px;
    .msg{
      font-size: 30px;
      line-height: 1.33;
      text-align: justify;
      color: #222;
      background-color: #aad4ff;
      padding: 26px 23px;
      border-radius: 5px;
      // box-shadow: 0 0 6px 0 #40a8ee;
    }
    .triangle{
      // margin-left: -5px;
      // z-index: 2;
      // width: 5px;
      // height: 0;
      // border-top: solid 20px #309fea;
      // border-right: solid 20px transparent;
    }
    &:after{
      z-index: 2;
      width: 5px;
      height: 0;
      border-left: solid 16px #aad4ff;
      border-top: solid 16px transparent;
      border-bottom: solid 16px transparent;
      margin-top: 24px;
      content: '';
      display: block;
    }
  }
  .header{
    width: 80px;
    height: 80px;
    margin: 0 10px;
    // border-radius: 50%;
  }
}
</style>

<script>
  export default {
    props: {
      msg: {
        type: String,
        default: '从理论上说，就是找到你选的这个股票的所有相似股票，看看他们的后市走势怎么样。以相似区间截止日为T日的话，那次日上涨和次日下跌数就是指T+1日相似个股的涨跌情况。'
      },
      header: String
    }
  }
</script>
